home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / tcsh / dist / config / config.fps500 < prev    next >
Encoding:
Text File  |  1991-12-21  |  3.1 KB  |  119 lines

  1. /*
  2.  * config.h -- configure various defines for tcsh
  3.  *
  4.  * All source files should #include this FIRST.
  5.  *
  6.  * Edit this to match your system type.
  7.  *
  8.  * From kean@fps.ucs.orst.edu (Kean Stump)
  9.  * FPS 500 +FPX with Sun C compiler
  10.  */
  11.  
  12. /****************** System dependant compilation flags ****************/
  13. /*
  14.  * POSIX    This system supports IEEE Std 1003.1-1988 (POSIX).
  15.  */
  16. #define POSIX
  17.  
  18. /*
  19.  * POSIXJOBS    This system supports the optional IEEE Std 1003.1-1988 (POSIX)
  20.  *        job control facilities.
  21.  */
  22. #undef POSIXJOBS
  23.  
  24. /*
  25.  * VFORK    This machine has a vfork().  
  26.  *        It used to be that for job control to work, this define
  27.  *        was mandatory. This is not the case any more.
  28.  *        If you think you still need it, but you don't have vfork, 
  29.  *        define this anyway and then do #define vfork fork.  
  30.  *        I do this anyway on a Sun because of yellow pages brain damage,
  31.  *        [should not be needed under 4.1]
  32.  *        and on the iris4d cause    SGI's fork is sufficiently "virtual" 
  33.  *        that vfork isn't necessary.  (Besides, SGI's vfork is weird).
  34.  *        Note that some machines eg. rs6000 have a vfork, but not
  35.  *        with the berkeley semantics, so we cannot use it there either.
  36.  */
  37. #define VFORK
  38.  
  39. /*
  40.  * BSDJOBS    You have BSD-style job control (both process groups and
  41.  *        a tty that deals correctly
  42.  */
  43. #define BSDJOBS
  44.  
  45. /*
  46.  * BSDSIGS    You have 4.2-style signals, rather than USG style.
  47.  *        Note: POSIX systems should not define this unless they
  48.  *        have sigvec() and friends (ie: 4.3BSD-RENO, HP-UX).
  49.  */
  50. #define BSDSIGS
  51.  
  52. /*
  53.  * BSDTIMES    You have BSD-style process time stuff (like rusage)
  54.  *        This may or may not be true.  For example, Apple Unix
  55.  *        (OREO) has BSDJOBS and BSDSIGS but not BSDTIMES.
  56.  */
  57. #define BSDTIMES
  58.  
  59. /*
  60.  * BSDNICE    Your system uses setpriority() instead of nice, to
  61.  *        change a processes scheduling priority
  62.  */
  63. #define BSDNICE
  64.  
  65. /*
  66.  * TERMIO    You have struct termio instead of struct sgttyb.
  67.  *         This is usually the case for SVID systems, where
  68.  *        BSD uses sgttyb. POSIX systems should define this
  69.  *        anyway, even though they use struct termios.
  70.  */
  71. #define TERMIO
  72.  
  73. /*
  74.  * SVID        Your machine is SVID complient (Sys V, HPUX, A/UX)
  75.  *        NOTE: don't do this if you are on a Pyramid -- tcsh is
  76.  *        built in a BSD universe.
  77.  *        Set SVID to 1, 2, 3, or 4, depending the version of System V
  78.  *        you are running. Or set it to 0 if you are not SVID based
  79.  */
  80. #define SVID    0
  81.  
  82. /*
  83.  * YPBUGS    Work around Sun YP bugs that cause expansion of ~username
  84.  *        to send command output to /dev/null
  85.  *        This is fixed in sunos 4.1, broken in 4.0..
  86.  */
  87. #undef YPBUGS
  88.  
  89. /*
  90.  * SIGVOID    Define this if your signal handlers return void.  On older
  91.  *        systems, signal returns int, but on newer ones, it returns void.
  92.  */
  93. #define SIGVOID 
  94.  
  95. /*
  96.  * HAVEDUP2    Define this if your system supports dup2().
  97.  */
  98. #define HAVEDUP2
  99.  
  100. /*
  101.  * UTHOST    Does the utmp file have a host field?
  102.  */
  103. #define UTHOST
  104.  
  105. /*
  106.  * DIRENT    Your system has <dirent.h> instead of <sys/dir.h>
  107.  */
  108. #define DIRENT
  109. /****************** local defines *********************/
  110. /*
  111.  * SUNOS4    You are running SunOS 4 (on a Sun 2, 3, 4, or 386i)
  112.  */
  113. #define SUNOS4
  114. #define fps500
  115.  
  116. /****************** configurable hacks ****************/
  117. /* have been moved to config_f.h */
  118. #include "config_f.h"
  119.